Cleantalk\Common\Helper D

Total Complexity 241
Dependencies 2
Dependents 5
Total lines 1,070
Lines of code 571
Logical lines of code 335
Comment lines 324
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
ipGet()
D
15
105 203
ipMaskMatch()
B
41 18 54
arrayMergeSaveNumericKeysRecursive()
A
57 11 16
httpMultiRequest()
A
51 9 26
toUTF8()
A
54 9 20
httpGetHeaders()
A
49 8 29
dbPrepareParam()
S
54 7 21
ipV6Normalize()
S
55 7 16
fromUTF8()
S
59 7 13
dnsResolve()
S
58 6 15
ipValidate()
S
61 6 12
removeNonUTF8()
S
60 5 13
getMimeType()
S
61 4 11
ipV6Reduce()
S
65 4 8
dateValidate()
S
64 3 9
cidrValidate()
S
72 3 4
bufferCsvPopLineToArray()
S
63 3 10
ipResolve()
S
66 3 9
bufferTrimAndClearFromEmptyLines()
S
64 3 10
ipResolveCleantalks()
S
65 3 9
isJson()
S
77 2 3
ipIsCleantalks()
S
68 2 7
bufferParseCsv()
S
66 2 8
arrayMergeSaveNumericKeys()
S
70 2 6
ipMaskLongToNumber()
S
73 2 4
timeGetIntervalStart()
S
77 1 3
ipIsPrivateNetwork()
S
78 1 3
bufferCsvPopLine()
S
69 1 6
bufferCsvGetMap()
S
75 1 4
ipLong2ip()
S
67 1 7
getFilenameFromUrl()
S
75 1 4
httpRequest()
S
68 1 8